import sys
import os
real_path = os.path.dirname((os.path.dirname(__file__)))
sys.path.append(real_path)

from request.do_request import DoRequest
from doAssert.do_assert import DoAssert


def trust_user_profile():
    api = '/rest/n/user/profile'
    req = DoRequest(api, 'post', 'trust_user_profile')
    expect_dict = {
        'result': 1
    }
    print('OK' if DoAssert.assert_is_expect(req, expect_dict) else 'Faild')


trust_user_profile()


